﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 出库单明细
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-16 
    /// </summary>
    [Table("WFORM_OUTBOUNDORDERENTRY")]
    public class OutboundEntryEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        [Column("F_OUTBOUNDID")]
        public string OutboundId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [Column("F_GOODSNAME")]
        public string GoodsName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        [Column("F_SPECIFICATIONS")]
        public string Specifications { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        [Column("F_UNIT")]
        public string Unit { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        [Column("F_QTY")]
        public string Qty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        [Column("F_PRICE")]
        public decimal? Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        [Column("F_AMOUNT")]
        public decimal? Amount { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
    }
}